3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next

Endian Types

The bitOrder field of a bitmap, a pixmap, or a storage pixmap indicates the order in which the bits in a byte are addressed. This field must contain one of these constants:

typedef enum TQ3Endian {
    kQ3EndianBig,
    kQ3EndianLittle
} TQ3Endian;

Constant descriptions

kQ3EndianBig
The bits are addressed in a big-endian manner (that is, each field is addressed by referring to its most significant bit).
kQ3EndianLittle
The bits are addressed in a little-endian manner (that is, each field is addressed by referring to its least significant bit).

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next